package com.jingdianjichi.subject.controller.convert;

import com.jingdianjichi.subject.controller.dto.SubjectAnswerDTO;

import com.jingdianjichi.subject.domain.entity.SubjectAnswerBO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * 标签DTO的转化
 */
@Mapper
public interface SubjectAnswerDTOConverter {
    SubjectAnswerDTOConverter INSTANCE = Mappers.getMapper(SubjectAnswerDTOConverter.class);
//   List<SubjectLabelBO> convertDtoToLabelBOList(SubjectLabelDTO subjectLabelDTO);
    SubjectAnswerBO convertDTOToBO(SubjectAnswerDTO subjectAnswerDTO);
    List<SubjectAnswerBO> convertListDTOToBO(List<SubjectAnswerDTO> doList);


}
